package com.mzj.saas.mservice.smartlock.vo;

import com.mzj.saas.mservice.smartlock.vo.yaluete.YltAuthorizationVO;

import java.util.List;

/**
 * 请求实体
 *
 * @author hp
 */
public class SmartLockVO {

    /**
     * 锁的设备号
     */
    private String sn;
    /**
     * 访问⽤于安全校验的(和securityKey，由软库提供)
     */
    private String accessKey;
    /**
     * 时间戳(当前系统时间，单位：毫秒)
     */
    private String timestamp;
    /**
     * 随机6位字符串
     */
    private String randomStr;
    /**
     * 签名
     */
    private String sign;
    /**
     * 开始时间 格式 20180720135337
     */
    private String startTime;
    /**
     * 结束时间 格式 20180720135337
     */
    private String endTime;
    /**
     * 密码 6位
     */
    private String password;
    /**
     * 密码类型:2-普通密码；5-次数密码 卡类型 1-开门卡；
     */
    private String authType;
    /**
     * 有效次数(普通密码的时候不传)
     */
    private Integer times;
    /**
     * 密码序号，合作方生成并保存(建议取1-50之间的值)
     */
    private Integer index;
    /**
     * 熙照智能锁编号
     */
    private Integer indexNum;
    /**
     * 冻结（1）或者解冻（0)
     */
    private Integer suspend;

    /**
     * 卡号
     */
    private String cardId;

    /**
     * cpu卡号/身份证号码内容
     */
    private String cardNumber;

    /**
     * 锁的mac号
     */
    private String devMac;

    /**
     * 批量锁的mac号
     */
    private List<String> devMacs;

    /**
     * 批量锁的设备号
     */
    private List<String> sns;

    /**
     * 卡序号，合作方生成并保存(建议取50-100之间的值)
     */
    private Integer cardIndex;

    /**
     * 熙照，卡序号编码
     */
    private Integer cardIndexNum;
    /**
     * 授权明细ID
     */
    private Long authInfoId;

    /**
     * 卡类型：1身份证 2CPU卡
     */
    private Integer cardType;

    /**
     * 冻结记录Id
     */
    private Long lockFrozenId;
    /**
     * 1用户密码 2临时密码
     */
    private Integer passwordType;
    /**
     * 指纹
     */
    private String fingerprint;

    /**
     * 亚略特特定参数
     */
    private String fAuthorizationID;// 授权id
    private String fAppUserID;// 授权用户 ID
    private YltAuthorizationVO yltAuth; // 授权用户信息
    private String identification;// 天网互联标识

    private Integer pwdType;// 密码生成方式:1自定义 2系统生成 3生成临时密码

    private Long returnPwdId; // 厂商密码授权id

    private Long returnCardId; // 厂商门卡授权id

    private Integer pageSize;

    private Integer pageNum;

    /**
     * 密钥
     */
    private String secretKey;

    public Long getReturnCardId() {
        return returnCardId;
    }

    public void setReturnCardId(Long returnCardId) {
        this.returnCardId = returnCardId;
    }

    public Long getReturnPwdId() {
        return returnPwdId;
    }

    public void setReturnPwdId(Long returnPwdId) {
        this.returnPwdId = returnPwdId;
    }

    public Integer getPwdType() {
        return pwdType;
    }

    public void setPwdType(Integer pwdType) {
        this.pwdType = pwdType;
    }

    public String getIdentification() {
        return identification;
    }

    public void setIdentification(String identification) {
        this.identification = identification;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getRandomStr() {
        return randomStr;
    }

    public void setRandomStr(String randomStr) {
        this.randomStr = randomStr;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAuthType() {
        return authType;
    }

    public void setAuthType(String authType) {
        this.authType = authType;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Integer getSuspend() {
        return suspend;
    }

    public void setSuspend(Integer suspend) {
        this.suspend = suspend;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getDevMac() {
        return devMac;
    }

    public void setDevMac(String devMac) {
        this.devMac = devMac;
    }

    public List<String> getDevMacs() {
        return devMacs;
    }

    public void setDevMacs(List<String> devMacs) {
        this.devMacs = devMacs;
    }

    public Integer getCardIndex() {
        return cardIndex;
    }

    public void setCardIndex(Integer cardIndex) {
        this.cardIndex = cardIndex;
    }

    public List<String> getSns() {
        return sns;
    }

    public void setSns(List<String> sns) {
        this.sns = sns;
    }

    public Long getAuthInfoId() {
        return authInfoId;
    }

    public void setAuthInfoId(Long authInfoId) {
        this.authInfoId = authInfoId;
    }

    public Integer getCardType() {
        return cardType;
    }

    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    public Long getLockFrozenId() {
        return lockFrozenId;
    }

    public void setLockFrozenId(Long lockFrozenId) {
        this.lockFrozenId = lockFrozenId;
    }

    public Integer getPasswordType() {
        return passwordType;
    }

    public void setPasswordType(Integer passwordType) {
        this.passwordType = passwordType;
    }

    public Integer getIndexNum() {
        return indexNum;
    }

    public void setIndexNum(Integer indexNum) {
        this.indexNum = indexNum;
    }

    public Integer getCardIndexNum() {
        return cardIndexNum;
    }

    public void setCardIndexNum(Integer cardIndexNum) {
        this.cardIndexNum = cardIndexNum;
    }

    public String getFingerprint() {
        return fingerprint;
    }

    public void setFingerprint(String fingerprint) {
        this.fingerprint = fingerprint;
    }

    public String getfAuthorizationID() {
        return fAuthorizationID;
    }

    public void setfAuthorizationID(String fAuthorizationID) {
        this.fAuthorizationID = fAuthorizationID;
    }

    public String getfAppUserID() {
        return fAppUserID;
    }

    public void setfAppUserID(String fAppUserID) {
        this.fAppUserID = fAppUserID;
    }

    public YltAuthorizationVO getYltAuth() {
        return yltAuth;
    }

    public void setYltAuth(YltAuthorizationVO yltAuth) {
        this.yltAuth = yltAuth;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }
}
